home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / wgdb-42.lha / wgdb-4.2 / gdb / xm-rtbsd.h < prev    next >
C/C++ Source or Header  |  1992-09-11  |  2KB  |  47 lines

  1. /* Definitions to host GDB on an IBM RT/PC running BSD Unix. 
  2.    Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
  3.    Contributed by David Wood @ New York University (wood@lab.ultra.nyu.edu).
  4.  
  5. This file is part of GDB.
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. /* Get rid of any system-imposed stack limit if possible.  */
  22. #define SET_STACK_LIMIT_HUGE
  23.  
  24. /* This machine is most significant byte first */
  25. #define HOST_BYTE_ORDER BIG_ENDIAN
  26.  
  27. /* This OS has the wait structure */
  28. #define HAVE_WAIT_STRUCT
  29.  
  30. /* This unix does not have a libc with vprintf */
  31. #define MISSING_VPRINTF
  32.  
  33. #ifdef HOSTING_ONLY
  34. /*
  35.  * This next two defines are to get GDB up and running as a host to
  36.  * do remote debugging.  I know there is a gdb for the RT, but there wasn't
  37.  * an xconfig/rt* file.  
  38.  */
  39. #define KERNEL_U_ADDR_BSD  /* This may be correct, but hasn't been tested */
  40. #define REGISTER_U_ADDR(a,b,c)       \
  41.     (printf("GDB can not debug IBM RT/PC BSD executables (yet)\n"),\
  42.     quit(),0)
  43. #else
  44. # include    "GDB for the RT is not included in the distribution" 
  45. #endif
  46.  
  47.